home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wild Blue Yonder 1: 50 Years of Gs & Jets
/
Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso
/
control
/
panel.dir
/
00744_Script_744
< prev
next >
Wrap
Text File
|
1994-08-29
|
593b
|
22 lines
on adjustVol
global inChannel, mooVTrack, volumes, sliderMin, sliderScale
set slider = the clickOn
set track = the clickOn - 1
set soundType = (slider - mooVTrack + 1)/2
if soundType = 4 then -- ambience
sound stop 1
sound stop 2
end if
repeat while the mouseDown and (rollOver( track ) or rollOver( slider ))
set the locV of sprite slider = the mouseV
updateStage
set vol = integer(((the locV of sprite slider - sliderMin) * -1) * sliderScale)
volumes( mPut, soundType, vol )
end repeat
end adjustVol